<?php

namespace Home\Controller;

class IndexController extends HomeCommonController
{
    //方法：index
    public function index()
    {

        go_mobile();
        $this->assign('title', C('CFG_WEBNAME'));
		$map['tag_status'] = 1;
		$tags = M('tag')->where($map)->order('tag_click DESC')->limit(15)->select();
		$this->assign('tags', $tags);
        $this->display();

    }
}
